<div class="radius" ng-if="pagedata.list.length>0">
<style>
.fui-cell-group .fui-cell:before {
	border-bottom: 0 solid #ebebeb;
}
</style>
<div class="fui-cell-group radius" ng-repeat="item in pagedata.list">
	<div class="fui-cell">
		<div class="fui-cell-label" style="width:3.5rem" href="javascript:;" ng-click="access_json('jy_xiangqin/memberitem//mid='+item.mid)">
			<img class="round" style="width:3rem;height:3rem;border-radius:3rem" ng-src="{{tomedia(item.avatar) || '../addons/jy_xiangqin/resource/images/nologo.png'}}">
		</div>
		<div class="fui-cell-text" style="margin-top:0.16rem">
			<div class="title" style="font-size:0.76rem">
				<span class="bold" style="font-size:0.8rem;width:auto;margin-right:0.2rem">{{item.nickname || 0}}</span>
				<i ng-if="item.sex==2" class="icon icon-nv red"></i>
				<i ng-if="item.sex==1" class="icon icon-nan" style="color:#18bc9c"></i>
			</div>
			<div class="subtitle" style="font-size:0.65rem">
				{{item.city}} <span class="bold" style="color:#18bc9c">·</span> {{item.age || '**'}}岁 <span class="bold" style="color:#18bc9c">·</span> {{item.zhiwei || '**'}} <span class="bold" style="color:#18bc9c">·</span> {{item.height || '**'}}
			</div>
		</div>
		<div class="fui-cellone-remark noremark">
			<span href="javascript:" ng-click="pagedata.guanz($index);" ng-class="{'jylabel':1, 'jylabel-success':item.islike!=1,'jylabel-default':item.islike==1}" style="padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">{{item.islike==1?'已关注':'关注'}}</span>
		</div>
	</div>
	<div class="fui-cell" style="padding-top:0;">
		<div class="content-block content-images">
			<p style="margin-bottom:0.3rem" ng-bind-html="trust(item.desc)"></p>
			<div ng-if="item.images.length>0 && item.images.length==1">
				<img ng-repeat="img in item.images track by $index" ng-click="pagedata.show_bigimage(img)" ng-src="{{tomedia(img) || '../core/resource/images/nopic.jpg'}}" style="width:100%;padding:1px">
			</div>
			<div ng-if="item.images.length>0 && item.images.length==2" class="fui-card-images">
				<img ng-repeat="img in item.images track by $index" ng-click="pagedata.show_bigimage(img)" ng-src="{{tomedia(img) || '../core/resource/images/nopic.jpg'}}" style="width:50%;height:6rem;padding:1px" />
			</div>
			<div ng-if="item.images.length>0 && item.images.length>2" class="fui-card-images">
				<img ng-repeat="img in item.images track by $index" ng-click="pagedata.show_bigimage(img)" ng-src="{{tomedia(img) || '../core/resource/images/nopic.jpg'}}" style="width:33.3%;height:5rem;padding:1px" />
			</div>
			<div ng-if="item.video" class="fui-video" style="margin:0;margin-top:0.3rem">
				<video ng-src="{{tomedia(item.video)}}" height="180" width="100%" controls="" x5-playsinline="" playsinline="" webkit-playsinline="" poster="" preload="auto"></video>
			</div>
		</div>
	</div>
	<div class="fui-cell" style="padding-top:0">
		<div class="fui-cell-info" style="color:#999;">{{item.pcd.district||'**'}} <span ng-if="item.juli>0">{{item.juli}}km</span></div>
		<div class="fui-cell-remark noremark">
			<span ng-click="pagedata.guanz($index);" style="color:#999;margin-left:0.5rem"><i ng-class="{'icon':1, 'icon-good':item.islike!=1, 'icon-good-filling':item.islike==1}"></i> {{item.likes||0}}</span>
		</div>
	</div>
</div>
</div>
<div ng-show="loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
<div ng-if="!loading && (!pagedata.list || pagedata.list.length<1)" class='content-empty' style="margin-top:0">
		<i class='icon icon-wentifankui'></i>
		<div>暂时没有任何相关动态</div>
</div>
<script type="text/javascript">
scope.pagedata.guanz=function(key){
	var item=scope.pagedata.list[key]
	scope.post_json('/item/guanz/mid='+item.mid,{},function(res){
		if(item.islike==1){
			item.islike=0;
		}else{
			item.islike=1;
		}
		scope.pagedata.list[key]=item;
		scope.$evalAsync();
		scope.message(res);
	});
}
</script>
